import { createRouter, createWebHashHistory } from "vue-router";

import Routes from "./routes.js";

const router = createRouter({
  history: createWebHashHistory(),
  routes: [...Routes],
});

router.afterEach((to) => {
  document.title = to.meta.title
})

export default router;
